package com.x.erp.model;

import com.x.erp.model.vo.RegionVO;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.math.BigDecimal;
import java.util.Date;

@MappingTable(tableName = "ERP_REGION")
public class Region extends BaseObject {
    private static final long serialVersionUID = 778946210775072753L;
    @MappingColumn(columnName = "REGION_ID", columnPk = true, columnLength = 32)
    private String regionId;
    @MappingColumn(columnName = "REGION_PARENT_ID")
    private String regionParentId;
    @MappingColumn(columnName = "REGION_TYPE")
    private Integer regionType;
    @MappingColumn(columnName = "REGION_NAME")
    private String regionName;
    @MappingColumn(columnName = "REGION_NUM")
    private Integer regionNum;
    @MappingColumn(columnName = "REGION_REST_NUM")
    private Integer regionRestNum;
    @MappingColumn(columnName = "REGION_RENT_FEE")
    private BigDecimal regionRentFee;
    @MappingColumn(columnName = "REGION_STATE")
    private Integer regionState;
    @MappingColumn(columnName = "REGION_CREATE_TIME")
    private Date regionCreateTime;
    @MappingColumn(columnName = "REGION_REMARK")
    private String regionRemark;
    @MappingColumn(columnName = "MARKET_ID")
    private String marketId;
    @MappingTable(tableName = "ERP_MARKET")
    private Market market;

    private RegionVO regionVO;// 车系

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getRegionParentId() {
        return regionParentId;
    }

    public void setRegionParentId(String regionParentId) {
        this.regionParentId = regionParentId;
    }

    public Integer getRegionType() {
        return regionType;
    }

    public void setRegionType(Integer regionType) {
        this.regionType = regionType;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public Integer getRegionNum() {
        return regionNum;
    }

    public void setRegionNum(Integer regionNum) {
        this.regionNum = regionNum;
    }

    public Integer getRegionRestNum() {
        return regionRestNum;
    }

    public void setRegionRestNum(Integer regionRestNum) {
        this.regionRestNum = regionRestNum;
    }

    public BigDecimal getRegionRentFee() {
        return regionRentFee;
    }

    public void setRegionRentFee(BigDecimal regionRentFee) {
        this.regionRentFee = regionRentFee;
    }

    public Integer getRegionState() {
        return regionState;
    }

    public void setRegionState(Integer regionState) {
        this.regionState = regionState;
    }

    public Date getRegionCreateTime() {
        return regionCreateTime;
    }

    public void setRegionCreateTime(Date regionCreateTime) {
        this.regionCreateTime = regionCreateTime;
    }

    public String getRegionRemark() {
        return regionRemark;
    }

    public void setRegionRemark(String regionRemark) {
        this.regionRemark = regionRemark;
    }

    public String getMarketId() {
        return marketId;
    }

    public void setMarketId(String marketId) {
        this.marketId = marketId;
    }

    public Market getMarket() {
        return market;
    }

    public void setMarket(Market market) {
        this.market = market;
    }

    public RegionVO getRegionVO() {
        return regionVO;
    }

    public void setRegionVO(RegionVO regionVO) {
        this.regionVO = regionVO;
    }
}
